package com.aaa.behind.service.impl;

import com.aaa.behind.dao.TbBottomArticleMapper;
import com.aaa.behind.service.ITbBottomArticleService;
import com.aaa.entity.TbBottomArticle;
import com.aaa.util.PageInfo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author whj
 * @since 2023-02-01
 */
@Service
public class TbBottomArticleServiceImpl extends ServiceImpl<TbBottomArticleMapper, TbBottomArticle> implements ITbBottomArticleService {


    @Autowired
    private TbBottomArticleMapper tbBottomArticleMapper;
    @Override
    public IPage getAllBottomArticle(PageInfo pageInfo) {
        return tbBottomArticleMapper.getAllBottomArticle(pageInfo);
    }

    @Override
    public IPage getAllfurryBottomArticle(PageInfo pageInfo, TbBottomArticle tbBottomArticle) {
        return tbBottomArticleMapper.getAllfurryBottomArticle(pageInfo,tbBottomArticle);
    }
}
